package lab2;

import lab1.Httpd;

import java.io.IOException;

public class Lab2 {
    public static void main(String[] args) throws IOException {
        new Thread(){
            @Override
            public void run() {
                try {
                    Ftpd.main(args);
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            }
        }.start();
        new Thread(){
            @Override
            public void run() {
                try {
                    Httpd.main(args);
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            }
        }.start();
    }
}
